
public class FanForTeam implements Spectator {
    private final String fanOfTeam;

    public FanForTeam(String fanOfTeam) {
        this.fanOfTeam = fanOfTeam;
    }

    @Override
    public String reactsToGoalScore(Team team) {
        return team.getTeamName().equals(fanOfTeam)?"Cheers":"Boo";
    }
}
